package leetcode.array;

import leetcode.array.common.ArrayUtils;

class Solution16 {
    public int threeSumClosest(int[] nums, int target) {
        return ArrayUtils.threeSumClosest(nums, target);
    }
}

public class leetcode16 {
    public static void main(String[] args) {
        Solution16 solution16 = new Solution16();
        int[] nums = {-1, 2, 1, -4};
        int target = 1;
        System.out.println(solution16.threeSumClosest(nums, target));
    }
}
